<?php
/**
 * Haozhaoya!
 * Copyright (c) 2009-2011 http://www.haozhaoya.com All Right Reserved!
 * Author:KeelDo <keeldo@keeldo.com> 
 */
class AdtypeModel extends Model{
	protected $_map=array(
		'i1d38bc102938a371dc5daaa3ed031d97'=>'adtype_id',
		'ie5b3234c34fcaf1fd474b854b952cf54'=>'adtype_name',
		'icdfa26b1689c49640fd87185bdd4c4c7'=>'adtype_sort',
		'i68e054ec24105506f95b1b655ebef73c'=>'adtype_price',
		'i36b4630c657cf37183599ff4f61f1523'=>'adtype_type',
		'i1268dcd8d9fca9aec6cc303002725dae'=>'adtype_desc',
		'ia4bea8cd8eae3027aca7086e0160ac51'=>'adtype_allow_scoreby',
		'ic1bdfff7d862495f9f1d6aadf3eedce7'=>'adtype_effect_cityid',
		'i810065c4f2c80b044b5f6c0050e315b5'=>'adtype_effect_schoolid',
		'i166b33449840dd0714770683d0ef24fb'=>'adtype_effect_categoryid',
		'ifb2d2efe0175f7d1e7128e18459cb785'=>'adtype_measure',
	);
	protected $fields=array(
		'adtype_id',
		'adtype_name',
		'adtype_sort',
		'adtype_price',
		'adtype_type',
		'adtype_desc',
		'adtype_allow_scoreby',
		'adtype_effect_cityid',
		'adtype_effect_schoolid',
		'adtype_effect_categoryid',
		'adtype_measure',
        
         '_pk'=>'adtype_id',
        '_autoinc'=>true,
	);
}
?>